WP_STATISTICS\Helper D

Total Complexity 332
Dependencies 22
Dependents 70
Total lines 2,235
Lines of code 1,252
Logical lines of code 735
Comment lines 657
Methods 89
Properties 0

Methods 89

Method Rating Maintainability Complexity Lines of code
mysql_time_conditions()
D
29
34 120
getWebsitePerformanceSummary()
C
28
19 155
send_mail()
A
36 14 73
checkActiveCachePlugin()
A
50 10 28
is_request()
A
59 10 14
get_html_page()
A
50 9 26
getConditionSQL()
A
52 9 24
is_login_page()
A
53 9 20
getStartOfWeek()
A
54 8 21
FilterQueryStringUrl()
S
49 7 29
calculatePercentageChange()
S
56 7 20
getReportEmailTip()
S
40 3 69
getDefaultDateFormat()
S
56 6 18
get_site_title_by_url()
S
55 6 18
get_list_taxonomy()
S
55 6 18
dntEnabled()
S
68 6 6
formatNumberWithUnit()
S
59 5 13
get_date_install_plugin()
S
54 4 21
getAverageRegisterUser()
S
55 4 19
getAverageComment()
S
55 4 19
getAveragePost()
S
55 4 19
calculateDateDifference()
S
57 4 15
shouldTrackAnonymously()
S
66 5 7
json_to_array()
S
66 5 7
checkUrlForParams()
S
61 4 13
convertBytes()
S
60 4 13
validateHitRequest()
S
49 2 34
is_rest_request()
S
63 4 10
checkMemoryLimit()
S
63 4 10
compare_uri_hits_int()
S
71 4 5
is_gutenberg()
S
73 4 4
getHitsDefaultParams()
S
59 3 14
getPostTypesByTaxonomy()
S
63 3 11
get_post_list()
S
57 2 16
getTaxonomyName()
S
68 3 7
getPostTypeName()
S
68 3 7
show_site_icon()
S
64 3 8
get_default_query_params_allow_list()
S
70 3 5
getRequestUri()
S
69 3 6
get_query_params_allow_list()
S
64 3 9
isAdminBarShowing()
S
73 3 4
get_robots_list()
S
66 3 8
getTableColumnSortUrl()
S
65 3 8
send_sms()
S
67 3 7
standard_json_encode()
S
64 3 9
injectionPatterns()
S
52 1 30
GenerateRgbaColor()
S
61 2 11
prepareArrayToStringForQuery()
S
68 2 7
yieldARow()
S
67 2 8
divideNumbers()
S
70 2 6
SortByKeyValue()
S
68 2 7
getDeviceCategoryName()
S
69 2 6
get_list_post_type()
S
64 2 9
dirToUrl()
S
64 2 10
urlToDir()
S
64 2 10
checkMiniChartOption()
S
77 2 3
get_screen_id()
S
72 2 5
isBypassAdBlockersRequest()
S
77 2 3
strip_array_indices()
S
69 2 7
isAddOnActive()
S
67 2 7
get_updated_list_post_type()
S
71 2 5
getCountPages()
S
67 2 8
set_all_option_datepicker()
S
74 2 4
isAssoc()
S
69 2 6
isCustomTaxonomy()
S
69 2 7
isCustomPostType()
S
74 2 4
random_string()
S
65 2 8
getCountPosts()
S
67 2 8
get_wp_sites_list()
S
67 2 8
check_url_scheme()
S
74 1 4
getPostTypes()
S
79 1 3
getUrlDecode()
S
78 1 3
get_file_path()
S
78 1 3
getCustomPostTypes()
S
77 1 3
RemoveQueryStringUrl()
S
78 1 3
IsPostPublished()
S
79 1 3
isRequestSignatureEnabled()
S
79 1 3
get_uploads_dir()
S
74 1 4
getLastPostDate()
S
69 1 6
getCountUsers()
S
75 1 4
getDefaultPostTypes()
S
71 1 5
compare_uri_hits()
S
79 1 3
get_domain_name()
S
69 1 6
makeAnonymousVersion()
S
68 1 6
filterArrayByKeys()
S
78 1 3
getTimezoneCountry()
S
73 1 5
getCountComment()
S
72 1 5
getCountSpam()
S
79 1 3
get_wordpress_version()
S
80 1 3